#pragma once
#include "picture.h"
#include "../../../dispatchable.h"

namespace Commands
{
    namespace Core
    {
        template <class T> class Command;
    }

    class SmartPicture : public DiasPicture,  public Dispatchable
    {
    public:
        SmartPicture(const char* path, int x, int y,  int L, int id);
    
        virtual ~SmartPicture();
    
        using Dispatchable::AddCommand;
    
        void AddCommand(const int queueId, const Core::Command<IGraphicElement>& command);
    };
}//namespace
